#ifndef _PACKETIDFILTER_H_
#define _PACKETIDFILTER_H_

#include <string>

#include <filter/PacketFilter.h>

/**
 * Filters for packets with a particular packet ID.
 *
 * @author Matt Tucker
 */
class PacketIDFilter : public PacketFilter {
public:

    /**
     * Creates a new packet ID filter using the specified packet ID.
     *
     * @param packetID the packet ID to filter for.
     */
    PacketIDFilter(std::string packetID) ;

    bool accept(Packet * packet) ;

	std::string toString() ;
private:
	std::string packetID;
};
#endif // -- _PACKETIDFILTER_H_
